//
//  DataRequestService.h
//  HappyMother
//
//  Created by yidong on 2017/10/23.
//  Copyright © 2017年 东哥. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DataRequestService : NSObject

+ (NSURLSessionDataTask *)requestURL:(NSString *)urlstring
                          httpMethod:(NSString *)method
                              params:(NSDictionary *)params
                          completion:(void(^)(id result,NSError *error))block;

@end
